<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

function defMonth($m){
   
   Switch ($m){
   case 1: {
       $this->monthAlpha = "January";
       $this->setMaxDays(31);
       break;
   }
   case 2: {
       $this->monthAlpha = "February";
       $this->setMaxDays(28);
       break;
   }
   case 3: {
       $this->monthAlpha = "March";
       $this->setMaxDays(31);
       break;
   }
   case 4: {
       $this->monthAlpha = "April";
       $this->setMaxDays(30);
       break;
       
   }
   case 5: {
       $this->monthAlpha = "May";
       $this->setMaxDays(31);
       break;
   }
   case 6: {
       $this->monthAlpha = "June";
       $this->setMaxDays(30);
       break;
   }
   case 7: {
       $this->monthAlpha = "July";
       $this->setMaxDays(31);
       break;
   }
   case 8: {
       $this->monthAlpha = "August";
       $this->setMaxDays(31);
       break;
   }
   case 9: {
       $this->monthAlpha = "September";
       $this->setMaxDays(30);
       break;
   }
   case 10: {
       $this->monthAlpha = "October";
       $this->setMaxDays(31);
       break;
   }
   case 11: {
       $this->monthAlpha = "November";
       $this->setMaxDays(30);
       break;
   }
   case 12: {
       $this->monthAlpha = "December";
       $this->setMaxDays(31);
       break;
   }
   }
}